<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<jsp:include page="admin_const.jsp" />
<s:if test="#session.KyglAdmin=='true'">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>系统管理页面</title>
<link type="text/css" rel="stylesheet" href="css/mainpanelstyle.css" />
<script type="text/javascript" src="../js/jquery/1.7.2/jquery-1.7.2.min.js"></script>

</head>

<body bgcolor="#E8E8E8">

<p>　</p>
<div align="center">
  <center>
  <table border="0" cellpadding="0" cellspacing="0" width="90%">
    <tr>
      <td width="100%" bgcolor="#FFFFFF">
      <div align="center">
        <table border="0" cellpadding="0" cellspacing="14" width="100%">
          <tr>
            <td width="100%"><font size="2"><br>
            </font>
            <p align="center"><b><font size="2">科研管理系统页面</font></b></p>
            <p><font size="2"><b>科研管理系统当前版本</b>：<s:text name="kygl.currentVersionNumber"></s:text> <s:text name="kygl.currentVersionBuild"></s:text></font></p><br>
            <script type="text/javascript" src='http://www.jgyjsj.com/version/checkver.jsp?sn=<s:text name="kygl.currentVersion"></s:text>'></script>
            <br>
            </font> </p>
              <p align="center"><b><font size="2">经干院计算机系</font></b><font size="2">版权所有　Copyright &copy; 2016-<span id="year"></span> 
              <a href="http://www.JGYJSJ.com" target="_blank">www.JGYJSJ.com</a>　 All Rights Reserved</font><p align="center"><font size="2">代码：<a href="mailto:jacklisp@126.com">工作室软开组</a> 　全站美工：<a href="mailto:yanjpcn@qq.com">工作室项目设计组</a></font></td> 
          </tr>
        </table>
      </div>
      </td>
    </tr>
  </table>
  </center>
</div>
<%
	String contextPath = request.getContextPath();
%>
<!-- 
<script type="text/javascript">
year();
function year(){
	$("#year").html("正在检测...");
	$.ajax({
		url:'<%=contextPath%>/ajax_util_year.action',
		type: 'post',
		success:function(data){
		 $("#year").html(data);
		}
	 });
 
}
</script>
 -->
</body>

</html>

</s:if>
<s:else>
<%
	String path = request.getContextPath();
%>
<script>alert('对不起！您需要重新登录123123！');window.location='<%=path%>/<s:i18n name="ApplicationResources"><s:text name="lerx.adminFolder" /></s:i18n>/m_login.jsp';
	</Script>
</s:else>
